package com.ruoyi.system.domain.process;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 加工库存对象 process_inventory
 * 
 * @author ljx
 * @date 2020-07-06
 */
public class ProcessInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 品名 */
    @Excel(name = "品名")
    private String productName;

    /** 厂家 */
    @Excel(name = "厂家")
    private String factoryName;

    /** 原膜编号 */
    @Excel(name = "原膜编号")
    private String number;

    /** 加工状态(1未加工，2并卷，3镀铝，4分卷) */
    @Excel(name = "加工状态(1未加工，2并卷，3镀铝，4分卷)")
    private Integer status;
    private String statusN;

    /** 材料名称 */
    @Excel(name = "材料名称")
    private String materialsName;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 材料规格 */
    @Excel(name = "材料规格")
    private String mSpecification;

    /** 规格单位 */
    @Excel(name = "规格单位")
    private String specificationUnit;

    /** 材料长度 */
    @Excel(name = "材料长度")
    private String mLength;

    /** 产品重量 */
    @Excel(name = "产品重量")
    private String productWeigt;

    /** 重量单位 */
    @Excel(name = "重量单位")
    private String weigtUnit;

    /** 镀铝重量 */
    @Excel(name = "镀铝重量")
    private String aluminizedWeigt;

    /** 镀铝单位 */
    @Excel(name = "镀铝单位")
    private String aluminizedUnit;

    /** 入库状态（1出库，2入库） */
    @Excel(name = "入库状态", readConverterExp = "1=出库，2入库")
    private Long type;

    /** 来料日期 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @Excel(name = "来料日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mDate;

    /** 产品要求 */
    @Excel(name = "产品要求")
    private String productDemand;

    private String startTime;
    private String endTime;
    private String endTime2;
    private String mmm;
    private String ttt;
    private String imageUrl;
    private String codeUrl;

    private byte[] imageInByte;
    private byte[] codeM;
    
    private String createTimeStr;
    
    
    
    
    
    public String getCodeUrl() {
		return codeUrl;
	}

	public void setCodeUrl(String codeUrl) {
		this.codeUrl = codeUrl;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getTtt() {
		return ttt;
	}

	public void setTtt(String ttt) {
		this.ttt = ttt;
	}

	public String getCreateTimeStr() {
		return createTimeStr;
	}

	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}

	public String getMmm() {
		return mmm;
	}

	public byte[] getCodeM() {
		return codeM;
	}






	public void setCodeM(byte[] codeM) {
		this.codeM = codeM;
	}






	public void setMmm(String mmm) {
		this.mmm = mmm;
	}



	public byte[] getImageInByte() {
		return imageInByte;
	}



	public void setImageInByte(byte[] imageInByte) {
		this.imageInByte = imageInByte;
	}



	public String getEndTime2() {
		return endTime2;
	}



	public void setEndTime2(String endTime2) {
		this.endTime2 = endTime2;
	}



	public String getStartTime() {
        return startTime;
    }
    
    

    public String getStatusN() {
		return statusN;
	}



	public void setStatusN(String statusN) {
		this.statusN = statusN;
	}



	public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setMaterialsName(String materialsName) 
    {
        this.materialsName = materialsName;
    }

    public String getMaterialsName() 
    {
        return materialsName;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setmSpecification(String mSpecification) 
    {
        this.mSpecification = mSpecification;
    }

    public String getmSpecification() 
    {
        return mSpecification;
    }
    public void setSpecificationUnit(String specificationUnit) 
    {
        this.specificationUnit = specificationUnit;
    }

    public String getSpecificationUnit() 
    {
        return specificationUnit;
    }
    public void setmLength(String mLength) 
    {
        this.mLength = mLength;
    }

    public String getmLength() 
    {
        return mLength;
    }
    public void setProductWeigt(String productWeigt) 
    {
        this.productWeigt = productWeigt;
    }

    public String getProductWeigt() 
    {
        return productWeigt;
    }
    public void setWeigtUnit(String weigtUnit) 
    {
        this.weigtUnit = weigtUnit;
    }

    public String getWeigtUnit() 
    {
        return weigtUnit;
    }
    public void setAluminizedWeigt(String aluminizedWeigt) 
    {
        this.aluminizedWeigt = aluminizedWeigt;
    }

    public String getAluminizedWeigt() 
    {
        return aluminizedWeigt;
    }
    public void setAluminizedUnit(String aluminizedUnit) 
    {
        this.aluminizedUnit = aluminizedUnit;
    }

    public String getAluminizedUnit() 
    {
        return aluminizedUnit;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setmDate(Date mDate) 
    {
        this.mDate = mDate;
    }

    public Date getmDate() 
    {
        return mDate;
    }
    public void setProductDemand(String productDemand) 
    {
        this.productDemand = productDemand;
    }

    public String getProductDemand() 
    {
        return productDemand;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("factoryName", getFactoryName())
            .append("number", getNumber())
            .append("status", getStatus())
            .append("materialsName", getMaterialsName())
            .append("color", getColor())
            .append("mSpecification", getmSpecification())
            .append("specificationUnit", getSpecificationUnit())
            .append("mLength", getmLength())
            .append("productWeigt", getProductWeigt())
            .append("weigtUnit", getWeigtUnit())
            .append("aluminizedWeigt", getAluminizedWeigt())
            .append("aluminizedUnit", getAluminizedUnit())
            .append("type", getType())
            .append("mDate", getmDate())
            .append("productDemand", getProductDemand())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
